/* 公共的样式 */
/*写一个页面样式的起手式*/
*{
    /*控制边框不要撑大*/
    box-sizing: border-box;
    /*去除浏览器默认样式*/
    padding: 0;
    margin: 0;
}

body{
    background-image: url(https://ts1.cn.mm.bing.net/th/id/R-C.437259fbe6c55307357dc94331388ba1?rik=dot72t4oB2W68Q&riu=http%3a%2f%2f5b0988e595225.cdn.sohucs.com%2fimages%2f20171018%2f65e002f3eecc411b8f76ebb55e227452.jpeg&ehk=c5L%2bEkl8cyVqFZkwbu8%2f%2bmxSuefyIUK0fWxDpw%2bJcBw%3d&risl=1&pid=ImgRaw&r=0);
    background-repeat: no-repeat;/*取消平铺*/
    background-position: center center;/*上下水平居中*/
    background-size: cover;/*尽量填满整个页面*/
    height: 100%;
}
html{
height: 100%;
width: 100%;
}
.nav{
    /*导航栏*/
    display: flex;/*弹性布局,里面的div都要平铺*/
    height: 50px;/*高度*/
    background-color: rgb(23, 142, 216,0.5);/*背景颜色*/
    /* opacity: 70%;透明度 */
    color: #fff;
    align-items: center;

}
.nav img{
    /*后代选择器*/
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin: 10px 30px;

}
.nav a{
    color: #fff;
    text-decoration: none;/*去掉下划线*/
    padding:0 10px;
    margin: 0px 10px;
}
.spacer{
    width: 70%;
}
.container{
    height: calc(100% - 50px);
    width: 1000px;
    /* background-color: gray; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.container-left{
    height: 300px;
    width: 190px;
    background: rgb(255, 255, 255,0.5);
    border-radius: 30px;
}
.container-right{
    height: 100%;
    width: 800px;
    background: rgb(255, 255, 255,0.8);
    border-radius: 30px; 
    /* 当内容超出范围时,自动添加滚动条 */
    overflow: auto;
    padding: 20px 30px;
}
.container-left img{
    height: 140px;
    width : 140px;
    border-radius: 70px;
}
.container-left h3{
    /* 文字居中 */
    text-align: center;
    padding:10px,0 ;

}
.container-left a{
    /* 设置为块级元素,不然无法居中 */
    display: block;
    /* 字体颜色 */
    color: gray;
    /* 去掉下划线 */
    text-decoration: none;
    /* 文字居中 */
    text-align: center;
    /* 和下面的间隔 */
    margin-bottom: 5px;
}
.container-left .conter{
    display: flex;
    justify-content: space-around;
    margin: 5px 0;
}
.card{
    /* 背景颜色 */
    background-color: rgb(255, 255, 255,0.8);
    /* 圆弧大小 */
    border-radius: 10px;
    /* 四个边的边距 */
    padding: 30px;

}